package com.entity;

public class BloggerMessage {
    private Integer id;         //编号
    private Integer bloggerId;   //留言人ID

    private String bloggerName;  //留言人名字
    private String message;      //留言内容

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBloggerId() {
        return bloggerId;
    }

    public void setBloggerId(Integer bloggerId) {
        this.bloggerId = bloggerId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getBloggerName() {
        return bloggerName;
    }

    public void setBloggerName(String bloggerName) {
        this.bloggerName = bloggerName;
    }

    @Override
    public String toString() {
        return "BloggerMessage{" +
                "id=" + id +
                ", bloggerId=" + bloggerId +
                ", bloggerName='" + bloggerName + '\'' +
                ", message='" + message + '\'' +
                '}';
    }
}
